home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / legal___ / 11420g01.ziv / INSTALL.BAT next >
DOS Batch File  |  1989-08-10  |  3KB  |  98 lines

  1. REM UPGRADE.BAT: Copyright (c) 1987 by R A Kelly
  2. echo off
  3. cls
  4. if %2x==x goto NODRIVE
  5. echo All disk drive designations must end with colons. For instance, drive C is
  6. echo designated as "C:", not "C".  Make absolutely sure that you have designate
  7. echo your hard disk correctly.
  8. echo .
  9. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  10. pause
  11. echo off
  12. cls
  13. echo ReSearch requires a minimum of 300K of hard disk space.
  14. echo .
  15. echo .
  16. echo If you have any doubt that your hard disk has at least 300K of free space,
  17. echo press Control-C to abort this installation; otherwise,
  18. pause
  19. echo off
  20. cls
  21. %2
  22. cd\
  23. md MANAGEX
  24. md \MANAGEX\DB
  25. echo off
  26. cls
  27. cd\MANAGEX
  28. if exist upgrd.exe erase upgrd.exe
  29. if not exist research.exe goto SKIPBACK
  30. erase l*.hlp
  31. echo off
  32. cls
  33. echo .
  34. echo .
  35. echo     Before you go through the installation, ensure that you have current
  36. echo backups of all the ReSearch data files you may used prior to today. If you
  37. echo do not have such backups, press Control-C and make them; otherwise,
  38. pause
  39. :SKIPBACK
  40. copy %1rsch.exe
  41. if exist %1upgrd.exe copy %1upgrd.exe
  42. cls
  43. if exist research.exe erase research.exe
  44. if exist editl.exe erase editl.exe
  45. if exist upgrd.com erase upgrd.com
  46. if exist research.doc erase research.doc
  47. if exist record.fmt erase record.fmt
  48. if exist RS.bat erase RS.bat
  49. rsch
  50. erase rsch.exe
  51. cls
  52. upgrd %2
  53. erase upgrd.*
  54. if exist research.lbm copy research.lbm %2\managex\db
  55. if exist 1sttime.fyl erase 1sttime.fyl
  56. cls
  57. echo .
  58. echo The instructions must be printed.
  59. echo .
  60. echo .
  61. echo Now, turn your printer OFF and then ON.  Make sure that it is ready to
  62. echo print and that you have loaded at least 20 sheets of paper.  Then, align
  63. echo the print head 1/2" below the top of the first sheet.
  64. echo .
  65. pause
  66. cls
  67. echo Printing documentation...
  68. if exist RESEARCH.DOC type RESEARCH.DOC >prn
  69. cls
  70. echo The documentation has been printed.
  71. echo .
  72. pause
  73. :SKIP
  74. echo off
  75. cls
  76. echo .
  77. echo                             VERY IMPORTANT!!
  78. echo .
  79. echo .
  80. echo      Be sure to save the disk(s) containing this version of ReSearch. You
  81. echo may need them at some time in the future if any hard disk files are lost.
  82. echo .
  83. echo .
  84. pause
  85. echo off
  86. cls
  87. goto END
  88. :NODRIVE
  89. cls
  90. echo .
  91. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  92. echo .
  93. echo examples: B:INSTRSCH B: C:  will install RESEARCH from drive B to drive C:
  94. echo           A:INSTRSCH A: D:  will install RESEARCH from drive A to drive D:
  95. echo .
  96. echo            PLEASE TRY AGAIN
  97. :END
  98.